package com.fuqiang.nightshopumsmodel.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Description:会员与产品分类关系表（用户喜欢的分类）
 * @author fuqiang
 * @since 2020-04-14
 */
@ApiModel(value ="会员与产品分类关系表（用户喜欢的分类）")
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ums_member_product_category_relation")
public class UmsMemberProductCategoryRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @TableField("member_id")
    private Long memberId;
    @TableField("product_category_id")
    private Long productCategoryId;


    public static final String ID = "id";

    public static final String MEMBER_ID = "member_id";

    public static final String PRODUCT_CATEGORY_ID = "product_category_id";

}
